export const pick = (obj, keys) => {
    return keys.reduce((acc, key) => {
        if (Object.hasOwn(obj, key)) {
            acc[key] = obj[key]
        }
        return acc
    }, {})
}
